<?php

    /**
     * This file is part of the Intelligencer package.
     * For the full copyright and license, please view the LICENSE
     * file that was distributed with this source code.
     * 
     * @author      drapeko <roman.drapeko@gmail.com>
     * @copyright   Roman Drapeko <roman.drapeko@gmail.com>, 2009 - present
     */

    /**
     * This interface for the persistent cacheable objects
     * @author drapeko
     */
    interface itPersistentCacheableI {
        
        /**
         * Returns the value that should be stored in the persistent cache
         * @return mixed
         */
        public function toPersistentCache();
        
        /**
         * Sets the value from the persistent cache
         * @param mixed $val
         * @return void
         */
        public function fromPersistentCache($val);
    }
    
?>
